#include<stdio.h>

char *mystrcat(char *arr1,const char *arr2)
{
    char *ret=arr1;//存储arr1的地址
    while(*arr1)
    {
        arr1++;
    }
    while((*arr1++=*arr2++))
    {
        ;
    }
    return ret;//返回这个地址

}
int main()
{
    char arr1[]="hello";
    char arr2[]="world";
    char *target=mystrcat(arr1,arr2);
    printf("%s",target);
    return 0;
}